.class public abstract Lorg/springframework/util/ObjectUtils;
.super Ljava/lang/Object;
.source "ObjectUtils.java"


# static fields
.field private static final ARRAY_ELEMENT_SEPARATOR:Ljava/lang/String; = ", "

.field private static final ARRAY_END:Ljava/lang/String; = "}"

.field private static final ARRAY_START:Ljava/lang/String; = "{"

.field private static final EMPTY_ARRAY:Ljava/lang/String; = "{}"

.field private static final EMPTY_STRING:Ljava/lang/String; = ""

.field private static final INITIAL_HASH:I = 0x7

.field private static final MULTIPLIER:I = 0x1f

.field private static final NULL_STRING:Ljava/lang/String; = "null"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 38
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static addObjectToArray([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object;
    .locals 5
    .parameter "array"
    .parameter "obj"

    .prologue
    const/4 v4, 0x0

    .line 132
    const-class v0, Ljava/lang/Object;

    .line 133
    .local v0, compType:Ljava/lang/Class;
    if-eqz p0, :cond_2

    .line 134
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;

    move-result-object v0

    .line 139
    :cond_0
    :goto_0
    if-eqz p0, :cond_3

    array-length v3, p0

    add-int/lit8 v2, v3, 0x1

    .line 140
    .local v2, newArrLength:I
    :goto_1
    invoke-static {v0, v2}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Ljava/lang/Object;

    .line 141
    .local v1, newArr:[Ljava/lang/Object;
    if-eqz p0, :cond_1

    .line 142
    array-length v3, p0

    invoke-static {p0, v4, v1, v4, v3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 144
    :cond_1
    array-length v3, v1

    add-int/lit8 v3, v3, -0x1

    aput-object p1, v1, v3

    .line 145
    return-object v1

    .line 136
    .end local v1           #newArr:[Ljava/lang/Object;
    .end local v2           #newArrLength:I
    :cond_2
    if-eqz p1, :cond_0

    .line 137
    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    goto :goto_0

    .line 139
    :cond_3
    const/4 v2, 0x1

    goto :goto_1
.end method

.method public static containsElement([Ljava/lang/Object;Ljava/lang/Object;)Z
    .locals 5
    .parameter "array"
    .parameter "element"

    .prologue
    const/4 v1, 0x0

    .line 113
    if-nez p0, :cond_1

    .line 121
    :cond_0
    :goto_0
    return v1

    .line 116
    :cond_1
    array-length v3, p0

    move v2, v1

    :goto_1
    if-ge v2, v3, :cond_0

    aget-object v0, p0, v2

    .line 117
    .local v0, arrayEle:Ljava/lang/Object;
    invoke-static {v0, p1}, Lorg/springframework/util/ObjectUtils;->nullSafeEquals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 118
    const/4 v1, 0x1

    goto :goto_0

    .line 116
    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_1
.end method

.method public static getDisplayString(Ljava/lang/Object;)Ljava/lang/String;
    .locals 1
    .parameter "obj"

    .prologue
    .line 503
    if-nez p0, :cond_0

    .line 504
    const-string v0, ""

    .line 506
    :goto_0
    return-object v0

    :cond_0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public static getIdentityHexString(Ljava/lang/Object;)Ljava/lang/String;
    .locals 1
    .parameter "obj"

    .prologue
    .line 490
    invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static hashCode(D)I
    .locals 3
    .parameter "dbl"

    .prologue
    .line 446
    invoke-static {p0, p1}, Ljava/lang/Double;->doubleToLongBits(D)J

    move-result-wide v0

    .line 447
    .local v0, bits:J
    invoke-static {v0, v1}, Lorg/springframework/util/ObjectUtils;->hashCode(J)I

    move-result v2

    return v2
.end method

.method public static hashCode(F)I
    .locals 1
    .parameter "flt"

    .prologue
    .line 455
    invoke-static {p0}, Ljava/lang/Float;->floatToIntBits(F)I

    move-result v0

    return v0
.end method

.method public static hashCode(J)I
    .locals 2
    .parameter "lng"

    .prologue
    .line 463
    const/16 v0, 0x20

    ushr-long v0, p0, v0

    xor-long/2addr v0, p0

    long-to-int v0, v0

    return v0
.end method

.method public static hashCode(Z)I
    .locals 1
    .parameter "bool"

    .prologue
    .line 438
    if-eqz p0, :cond_0

    const/16 v0, 0x4cf

    :goto_0
    return v0

    :cond_0
    const/16 v0, 0x4d5

    goto :goto_0
.end method

.method public static identityToString(Ljava/lang/Object;)Ljava/lang/String;
    .locals 2
    .parameter "obj"

    .prologue
    .line 478
    if-nez p0, :cond_0

    .line 479
    const-string v0, ""

    .line 481
    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "@"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->getIdentityHexString(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public static isArray(Ljava/lang/Object;)Z
    .locals 1
    .parameter "obj"

    .prologue
    .line 93
    if-eqz p0, :cond_0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->isArray()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static isCheckedException(Ljava/lang/Throwable;)Z
    .locals 1
    .parameter "ex"

    .prologue
    .line 61
    instance-of v0, p0, Ljava/lang/RuntimeException;

    if-nez v0, :cond_0

    instance-of v0, p0, Ljava/lang/Error;

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public static isCompatibleWithThrowsClause(Ljava/lang/Throwable;[Ljava/lang/Class;)Z
    .locals 4
    .parameter "ex"
    .parameter "declaredExceptions"

    .prologue
    const/4 v1, 0x1

    .line 72
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->isCheckedException(Ljava/lang/Throwable;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 84
    :cond_0
    :goto_0
    return v1

    .line 75
    :cond_1
    if-eqz p1, :cond_2

    .line 76
    const/4 v0, 0x0

    .line 77
    .local v0, i:I
    :goto_1
    array-length v2, p1

    if-lt v0, v2, :cond_3

    .line 84
    .end local v0           #i:I
    :cond_2
    const/4 v1, 0x0

    goto :goto_0

    .line 78
    .restart local v0       #i:I
    :cond_3
    aget-object v2, p1, v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 81
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method public static isEmpty([Ljava/lang/Object;)Z
    .locals 1
    .parameter "array"

    .prologue
    .line 102
    if-eqz p0, :cond_0

    array-length v0, p0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public static nullSafeClassName(Ljava/lang/Object;)Ljava/lang/String;
    .locals 1
    .parameter "obj"

    .prologue
    .line 516
    if-eqz p0, :cond_0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const-string v0, "null"

    goto :goto_0
.end method

.method public static nullSafeEquals(Ljava/lang/Object;Ljava/lang/Object;)Z
    .locals 3
    .parameter "o1"
    .parameter "o2"

    .prologue
    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 196
    if-ne p0, p1, :cond_1

    .line 234
    .end local p0
    .end local p1
    :cond_0
    :goto_0
    return v0

    .line 199
    .restart local p0
    .restart local p1
    :cond_1
    if-eqz p0, :cond_2

    if-nez p1, :cond_3

    :cond_2
    move v0, v1

    .line 200
    goto :goto_0

    .line 202
    :cond_3
    invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 205
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->isArray()Z

    move-result v0

    if-eqz v0, :cond_c

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->isArray()Z

    move-result v0

    if-eqz v0, :cond_c

    .line 206
    instance-of v0, p0, [Ljava/lang/Object;

    if-eqz v0, :cond_4

    instance-of v0, p1, [Ljava/lang/Object;

    if-eqz v0, :cond_4

    .line 207
    check-cast p0, [Ljava/lang/Object;

    .end local p0
    check-cast p1, [Ljava/lang/Object;

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z

    move-result v0

    goto :goto_0

    .line 209
    .restart local p0
    .restart local p1
    :cond_4
    instance-of v0, p0, [Z

    if-eqz v0, :cond_5

    instance-of v0, p1, [Z

    if-eqz v0, :cond_5

    .line 210
    check-cast p0, [Z

    .end local p0
    check-cast p1, [Z

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([Z[Z)Z

    move-result v0

    goto :goto_0

    .line 212
    .restart local p0
    .restart local p1
    :cond_5
    instance-of v0, p0, [B

    if-eqz v0, :cond_6

    instance-of v0, p1, [B

    if-eqz v0, :cond_6

    .line 213
    check-cast p0, [B

    .end local p0
    check-cast p1, [B

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([B[B)Z

    move-result v0

    goto :goto_0

    .line 215
    .restart local p0
    .restart local p1
    :cond_6
    instance-of v0, p0, [C

    if-eqz v0, :cond_7

    instance-of v0, p1, [C

    if-eqz v0, :cond_7

    .line 216
    check-cast p0, [C

    .end local p0
    check-cast p1, [C

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([C[C)Z

    move-result v0

    goto :goto_0

    .line 218
    .restart local p0
    .restart local p1
    :cond_7
    instance-of v0, p0, [D

    if-eqz v0, :cond_8

    instance-of v0, p1, [D

    if-eqz v0, :cond_8

    .line 219
    check-cast p0, [D

    .end local p0
    check-cast p1, [D

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([D[D)Z

    move-result v0

    goto :goto_0

    .line 221
    .restart local p0
    .restart local p1
    :cond_8
    instance-of v0, p0, [F

    if-eqz v0, :cond_9

    instance-of v0, p1, [F

    if-eqz v0, :cond_9

    .line 222
    check-cast p0, [F

    .end local p0
    check-cast p1, [F

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([F[F)Z

    move-result v0

    goto/16 :goto_0

    .line 224
    .restart local p0
    .restart local p1
    :cond_9
    instance-of v0, p0, [I

    if-eqz v0, :cond_a

    instance-of v0, p1, [I

    if-eqz v0, :cond_a

    .line 225
    check-cast p0, [I

    .end local p0
    check-cast p1, [I

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([I[I)Z

    move-result v0

    goto/16 :goto_0

    .line 227
    .restart local p0
    .restart local p1
    :cond_a
    instance-of v0, p0, [J

    if-eqz v0, :cond_b

    instance-of v0, p1, [J

    if-eqz v0, :cond_b

    .line 228
    check-cast p0, [J

    .end local p0
    check-cast p1, [J

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([J[J)Z

    move-result v0

    goto/16 :goto_0

    .line 230
    .restart local p0
    .restart local p1
    :cond_b
    instance-of v0, p0, [S

    if-eqz v0, :cond_c

    instance-of v0, p1, [S

    if-eqz v0, :cond_c

    .line 231
    check-cast p0, [S

    .end local p0
    check-cast p1, [S

    .end local p1
    invoke-static {p0, p1}, Ljava/util/Arrays;->equals([S[S)Z

    move-result v0

    goto/16 :goto_0

    .restart local p0
    .restart local p1
    :cond_c
    move v0, v1

    .line 234
    goto/16 :goto_0
.end method

.method public static nullSafeHashCode(Ljava/lang/Object;)I
    .locals 1
    .parameter "obj"

    .prologue
    .line 254
    if-nez p0, :cond_0

    .line 255
    const/4 v0, 0x0

    .line 286
    :goto_0
    return v0

    .line 257
    :cond_0
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->isArray()Z

    move-result v0

    if-eqz v0, :cond_9

    .line 258
    instance-of v0, p0, [Ljava/lang/Object;

    if-eqz v0, :cond_1

    .line 259
    check-cast p0, [Ljava/lang/Object;

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([Ljava/lang/Object;)I

    move-result v0

    goto :goto_0

    .line 261
    .restart local p0
    :cond_1
    instance-of v0, p0, [Z

    if-eqz v0, :cond_2

    .line 262
    check-cast p0, [Z

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([Z)I

    move-result v0

    goto :goto_0

    .line 264
    .restart local p0
    :cond_2
    instance-of v0, p0, [B

    if-eqz v0, :cond_3

    .line 265
    check-cast p0, [B

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([B)I

    move-result v0

    goto :goto_0

    .line 267
    .restart local p0
    :cond_3
    instance-of v0, p0, [C

    if-eqz v0, :cond_4

    .line 268
    check-cast p0, [C

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([C)I

    move-result v0

    goto :goto_0

    .line 270
    .restart local p0
    :cond_4
    instance-of v0, p0, [D

    if-eqz v0, :cond_5

    .line 271
    check-cast p0, [D

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([D)I

    move-result v0

    goto :goto_0

    .line 273
    .restart local p0
    :cond_5
    instance-of v0, p0, [F

    if-eqz v0, :cond_6

    .line 274
    check-cast p0, [F

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([F)I

    move-result v0

    goto :goto_0

    .line 276
    .restart local p0
    :cond_6
    instance-of v0, p0, [I

    if-eqz v0, :cond_7

    .line 277
    check-cast p0, [I

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([I)I

    move-result v0

    goto :goto_0

    .line 279
    .restart local p0
    :cond_7
    instance-of v0, p0, [J

    if-eqz v0, :cond_8

    .line 280
    check-cast p0, [J

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([J)I

    move-result v0

    goto :goto_0

    .line 282
    .restart local p0
    :cond_8
    instance-of v0, p0, [S

    if-eqz v0, :cond_9

    .line 283
    check-cast p0, [S

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode([S)I

    move-result v0

    goto :goto_0

    .line 286
    .restart local p0
    :cond_9
    invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I

    move-result v0

    goto :goto_0
.end method

.method public static nullSafeHashCode([B)I
    .locals 5
    .parameter "array"

    .prologue
    .line 326
    if-nez p0, :cond_1

    .line 327
    const/4 v1, 0x0

    .line 334
    :cond_0
    return v1

    .line 329
    :cond_1
    const/4 v1, 0x7

    .line 330
    .local v1, hash:I
    array-length v0, p0

    .line 331
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 332
    mul-int/lit8 v3, v1, 0x1f

    aget-byte v4, p0, v2

    add-int v1, v3, v4

    .line 331
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([C)I
    .locals 5
    .parameter "array"

    .prologue
    .line 342
    if-nez p0, :cond_1

    .line 343
    const/4 v1, 0x0

    .line 350
    :cond_0
    return v1

    .line 345
    :cond_1
    const/4 v1, 0x7

    .line 346
    .local v1, hash:I
    array-length v0, p0

    .line 347
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 348
    mul-int/lit8 v3, v1, 0x1f

    aget-char v4, p0, v2

    add-int v1, v3, v4

    .line 347
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([D)I
    .locals 6
    .parameter "array"

    .prologue
    .line 358
    if-nez p0, :cond_1

    .line 359
    const/4 v1, 0x0

    .line 366
    :cond_0
    return v1

    .line 361
    :cond_1
    const/4 v1, 0x7

    .line 362
    .local v1, hash:I
    array-length v0, p0

    .line 363
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 364
    mul-int/lit8 v3, v1, 0x1f

    aget-wide v4, p0, v2

    invoke-static {v4, v5}, Lorg/springframework/util/ObjectUtils;->hashCode(D)I

    move-result v4

    add-int v1, v3, v4

    .line 363
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([F)I
    .locals 5
    .parameter "array"

    .prologue
    .line 374
    if-nez p0, :cond_1

    .line 375
    const/4 v1, 0x0

    .line 382
    :cond_0
    return v1

    .line 377
    :cond_1
    const/4 v1, 0x7

    .line 378
    .local v1, hash:I
    array-length v0, p0

    .line 379
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 380
    mul-int/lit8 v3, v1, 0x1f

    aget v4, p0, v2

    invoke-static {v4}, Lorg/springframework/util/ObjectUtils;->hashCode(F)I

    move-result v4

    add-int v1, v3, v4

    .line 379
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([I)I
    .locals 5
    .parameter "array"

    .prologue
    .line 390
    if-nez p0, :cond_1

    .line 391
    const/4 v1, 0x0

    .line 398
    :cond_0
    return v1

    .line 393
    :cond_1
    const/4 v1, 0x7

    .line 394
    .local v1, hash:I
    array-length v0, p0

    .line 395
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 396
    mul-int/lit8 v3, v1, 0x1f

    aget v4, p0, v2

    add-int v1, v3, v4

    .line 395
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([J)I
    .locals 6
    .parameter "array"

    .prologue
    .line 406
    if-nez p0, :cond_1

    .line 407
    const/4 v1, 0x0

    .line 414
    :cond_0
    return v1

    .line 409
    :cond_1
    const/4 v1, 0x7

    .line 410
    .local v1, hash:I
    array-length v0, p0

    .line 411
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 412
    mul-int/lit8 v3, v1, 0x1f

    aget-wide v4, p0, v2

    invoke-static {v4, v5}, Lorg/springframework/util/ObjectUtils;->hashCode(J)I

    move-result v4

    add-int v1, v3, v4

    .line 411
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([Ljava/lang/Object;)I
    .locals 5
    .parameter "array"

    .prologue
    .line 294
    if-nez p0, :cond_1

    .line 295
    const/4 v1, 0x0

    .line 302
    :cond_0
    return v1

    .line 297
    :cond_1
    const/4 v1, 0x7

    .line 298
    .local v1, hash:I
    array-length v0, p0

    .line 299
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 300
    mul-int/lit8 v3, v1, 0x1f

    aget-object v4, p0, v2

    invoke-static {v4}, Lorg/springframework/util/ObjectUtils;->nullSafeHashCode(Ljava/lang/Object;)I

    move-result v4

    add-int v1, v3, v4

    .line 299
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([S)I
    .locals 5
    .parameter "array"

    .prologue
    .line 422
    if-nez p0, :cond_1

    .line 423
    const/4 v1, 0x0

    .line 430
    :cond_0
    return v1

    .line 425
    :cond_1
    const/4 v1, 0x7

    .line 426
    .local v1, hash:I
    array-length v0, p0

    .line 427
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 428
    mul-int/lit8 v3, v1, 0x1f

    aget-short v4, p0, v2

    add-int v1, v3, v4

    .line 427
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeHashCode([Z)I
    .locals 5
    .parameter "array"

    .prologue
    .line 310
    if-nez p0, :cond_1

    .line 311
    const/4 v1, 0x0

    .line 318
    :cond_0
    return v1

    .line 313
    :cond_1
    const/4 v1, 0x7

    .line 314
    .local v1, hash:I
    array-length v0, p0

    .line 315
    .local v0, arraySize:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v0, :cond_0

    .line 316
    mul-int/lit8 v3, v1, 0x1f

    aget-boolean v4, p0, v2

    invoke-static {v4}, Lorg/springframework/util/ObjectUtils;->hashCode(Z)I

    move-result v4

    add-int v1, v3, v4

    .line 315
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static nullSafeToString(Ljava/lang/Object;)Ljava/lang/String;
    .locals 2
    .parameter "obj"

    .prologue
    .line 527
    if-nez p0, :cond_0

    .line 528
    const-string p0, "null"

    .line 561
    .end local p0
    :goto_0
    return-object p0

    .line 530
    .restart local p0
    :cond_0
    instance-of v1, p0, Ljava/lang/String;

    if-eqz v1, :cond_1

    .line 531
    check-cast p0, Ljava/lang/String;

    goto :goto_0

    .line 533
    :cond_1
    instance-of v1, p0, [Ljava/lang/Object;

    if-eqz v1, :cond_2

    .line 534
    check-cast p0, [Ljava/lang/Object;

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 536
    .restart local p0
    :cond_2
    instance-of v1, p0, [Z

    if-eqz v1, :cond_3

    .line 537
    check-cast p0, [Z

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([Z)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 539
    .restart local p0
    :cond_3
    instance-of v1, p0, [B

    if-eqz v1, :cond_4

    .line 540
    check-cast p0, [B

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([B)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 542
    .restart local p0
    :cond_4
    instance-of v1, p0, [C

    if-eqz v1, :cond_5

    .line 543
    check-cast p0, [C

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([C)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 545
    .restart local p0
    :cond_5
    instance-of v1, p0, [D

    if-eqz v1, :cond_6

    .line 546
    check-cast p0, [D

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([D)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 548
    .restart local p0
    :cond_6
    instance-of v1, p0, [F

    if-eqz v1, :cond_7

    .line 549
    check-cast p0, [F

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([F)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 551
    .restart local p0
    :cond_7
    instance-of v1, p0, [I

    if-eqz v1, :cond_8

    .line 552
    check-cast p0, [I

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([I)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 554
    .restart local p0
    :cond_8
    instance-of v1, p0, [J

    if-eqz v1, :cond_9

    .line 555
    check-cast p0, [J

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([J)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 557
    .restart local p0
    :cond_9
    instance-of v1, p0, [S

    if-eqz v1, :cond_a

    .line 558
    check-cast p0, [S

    .end local p0
    invoke-static {p0}, Lorg/springframework/util/ObjectUtils;->nullSafeToString([S)Ljava/lang/String;

    move-result-object p0

    goto :goto_0

    .line 560
    .restart local p0
    :cond_a
    invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 561
    .local v0, str:Ljava/lang/String;
    if-eqz v0, :cond_b

    .end local v0           #str:Ljava/lang/String;
    :goto_1
    move-object p0, v0

    goto :goto_0

    .restart local v0       #str:Ljava/lang/String;
    :cond_b
    const-string v0, ""

    goto :goto_1
.end method

.method public static nullSafeToString([B)Ljava/lang/String;
    .locals 4
    .parameter "array"

    .prologue
    .line 637
    if-nez p0, :cond_0

    .line 638
    const-string v3, "null"

    .line 655
    :goto_0
    return-object v3

    .line 640
    :cond_0
    array-length v1, p0

    .line 641
    .local v1, length:I
    if-nez v1, :cond_1

    .line 642
    const-string v3, "{}"

    goto :goto_0

    .line 644
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 645
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 654
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 655
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 646
    :cond_2
    if-nez v0, :cond_3

    .line 647
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 652
    :goto_2
    aget-byte v3, p0, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 645
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 650
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([C)Ljava/lang/String;
    .locals 5
    .parameter "array"

    .prologue
    .line 668
    if-nez p0, :cond_0

    .line 669
    const-string v3, "null"

    .line 686
    :goto_0
    return-object v3

    .line 671
    :cond_0
    array-length v1, p0

    .line 672
    .local v1, length:I
    if-nez v1, :cond_1

    .line 673
    const-string v3, "{}"

    goto :goto_0

    .line 675
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 676
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 685
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 686
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 677
    :cond_2
    if-nez v0, :cond_3

    .line 678
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 683
    :goto_2
    const-string v3, "\'"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    aget-char v4, p0, v0

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\'"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 676
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 681
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([D)Ljava/lang/String;
    .locals 5
    .parameter "array"

    .prologue
    .line 699
    if-nez p0, :cond_0

    .line 700
    const-string v3, "null"

    .line 718
    :goto_0
    return-object v3

    .line 702
    :cond_0
    array-length v1, p0

    .line 703
    .local v1, length:I
    if-nez v1, :cond_1

    .line 704
    const-string v3, "{}"

    goto :goto_0

    .line 706
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 707
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 717
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 718
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 708
    :cond_2
    if-nez v0, :cond_3

    .line 709
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 715
    :goto_2
    aget-wide v3, p0, v0

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    .line 707
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 712
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([F)Ljava/lang/String;
    .locals 4
    .parameter "array"

    .prologue
    .line 731
    if-nez p0, :cond_0

    .line 732
    const-string v3, "null"

    .line 750
    :goto_0
    return-object v3

    .line 734
    :cond_0
    array-length v1, p0

    .line 735
    .local v1, length:I
    if-nez v1, :cond_1

    .line 736
    const-string v3, "{}"

    goto :goto_0

    .line 738
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 739
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 749
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 750
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 740
    :cond_2
    if-nez v0, :cond_3

    .line 741
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 747
    :goto_2
    aget v3, p0, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    .line 739
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 744
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([I)Ljava/lang/String;
    .locals 4
    .parameter "array"

    .prologue
    .line 763
    if-nez p0, :cond_0

    .line 764
    const-string v3, "null"

    .line 781
    :goto_0
    return-object v3

    .line 766
    :cond_0
    array-length v1, p0

    .line 767
    .local v1, length:I
    if-nez v1, :cond_1

    .line 768
    const-string v3, "{}"

    goto :goto_0

    .line 770
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 771
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 780
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 781
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 772
    :cond_2
    if-nez v0, :cond_3

    .line 773
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 778
    :goto_2
    aget v3, p0, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 771
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 776
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([J)Ljava/lang/String;
    .locals 5
    .parameter "array"

    .prologue
    .line 794
    if-nez p0, :cond_0

    .line 795
    const-string v3, "null"

    .line 812
    :goto_0
    return-object v3

    .line 797
    :cond_0
    array-length v1, p0

    .line 798
    .local v1, length:I
    if-nez v1, :cond_1

    .line 799
    const-string v3, "{}"

    goto :goto_0

    .line 801
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 802
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 811
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 812
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 803
    :cond_2
    if-nez v0, :cond_3

    .line 804
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 809
    :goto_2
    aget-wide v3, p0, v0

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    .line 802
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 807
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([Ljava/lang/Object;)Ljava/lang/String;
    .locals 4
    .parameter "array"

    .prologue
    .line 574
    if-nez p0, :cond_0

    .line 575
    const-string v3, "null"

    .line 592
    :goto_0
    return-object v3

    .line 577
    :cond_0
    array-length v1, p0

    .line 578
    .local v1, length:I
    if-nez v1, :cond_1

    .line 579
    const-string v3, "{}"

    goto :goto_0

    .line 581
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 582
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 591
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 592
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 583
    :cond_2
    if-nez v0, :cond_3

    .line 584
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 589
    :goto_2
    aget-object v3, p0, v0

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 582
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 587
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([S)Ljava/lang/String;
    .locals 4
    .parameter "array"

    .prologue
    .line 825
    if-nez p0, :cond_0

    .line 826
    const-string v3, "null"

    .line 843
    :goto_0
    return-object v3

    .line 828
    :cond_0
    array-length v1, p0

    .line 829
    .local v1, length:I
    if-nez v1, :cond_1

    .line 830
    const-string v3, "{}"

    goto :goto_0

    .line 832
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 833
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 842
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 843
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 834
    :cond_2
    if-nez v0, :cond_3

    .line 835
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 840
    :goto_2
    aget-short v3, p0, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 833
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 838
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static nullSafeToString([Z)Ljava/lang/String;
    .locals 4
    .parameter "array"

    .prologue
    .line 605
    if-nez p0, :cond_0

    .line 606
    const-string v3, "null"

    .line 624
    :goto_0
    return-object v3

    .line 608
    :cond_0
    array-length v1, p0

    .line 609
    .local v1, length:I
    if-nez v1, :cond_1

    .line 610
    const-string v3, "{}"

    goto :goto_0

    .line 612
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 613
    .local v2, sb:Ljava/lang/StringBuilder;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_2

    .line 623
    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 624
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 614
    :cond_2
    if-nez v0, :cond_3

    .line 615
    const-string v3, "{"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 621
    :goto_2
    aget-boolean v3, p0, v0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    .line 613
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 618
    :cond_3
    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2
.end method

.method public static toObjectArray(Ljava/lang/Object;)[Ljava/lang/Object;
    .locals 7
    .parameter "source"

    .prologue
    const/4 v5, 0x0

    .line 158
    instance-of v4, p0, [Ljava/lang/Object;

    if-eqz v4, :cond_0

    .line 159
    check-cast p0, [Ljava/lang/Object;

    .line 176
    .end local p0
    .local v1, length:I
    :goto_0
    return-object p0

    .line 161
    .end local v1           #length:I
    .restart local p0
    :cond_0
    if-nez p0, :cond_1

    .line 162
    new-array p0, v5, [Ljava/lang/Object;

    goto :goto_0

    .line 164
    :cond_1
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Class;->isArray()Z

    move-result v4

    if-nez v4, :cond_2

    .line 165
    new-instance v4, Ljava/lang/IllegalArgumentException;

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "Source is not an array: "

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v4

    .line 167
    :cond_2
    invoke-static {p0}, Ljava/lang/reflect/Array;->getLength(Ljava/lang/Object;)I

    move-result v1

    .line 168
    .restart local v1       #length:I
    if-nez v1, :cond_3

    .line 169
    new-array p0, v5, [Ljava/lang/Object;

    goto :goto_0

    .line 171
    :cond_3
    invoke-static {p0, v5}, Ljava/lang/reflect/Array;->get(Ljava/lang/Object;I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    .line 172
    .local v3, wrapperType:Ljava/lang/Class;
    invoke-static {v3, v1}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, [Ljava/lang/Object;

    .line 173
    .local v2, newArray:[Ljava/lang/Object;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    if-lt v0, v1, :cond_4

    move-object p0, v2

    .line 176
    goto :goto_0

    .line 174
    :cond_4
    invoke-static {p0, v0}, Ljava/lang/reflect/Array;->get(Ljava/lang/Object;I)Ljava/lang/Object;

    move-result-object v4

    aput-object v4, v2, v0

    .line 173
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method
